$OpenBSD: patch-kimap_CMakeLists_txt,v 1.2 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- kimap/CMakeLists.txt.orig	Thu May  8 11:26:48 2014
+++ kimap/CMakeLists.txt	Sun May 18 20:22:24 2014
@@ -55,7 +55,7 @@ set(kimap_LIB_SRCS
 add_library(kimap ${LIBRARY_TYPE} ${kimap_LIB_SRCS})
 generate_export_header(kimap)
 
-target_link_libraries(kimap ${KDE4_KDECORE_LIBS} ${QT_QTNETWORK_LIBRARY} kmime  ${SASL2_LIBRARIES})
+target_link_libraries(kimap kmime ${KDE4_KDECORE_LIBS} ${QT_QTNETWORK_LIBRARY} ${SASL2_LIBRARIES})
 
 include_directories(
   ${CMAKE_SOURCE_DIR}/kioslave
